export default {
	data() {
		return {
			goodsid: '',
			show: false,
			pageShow: true,
			pageData: {
        'carimg':'23'
      }
		};
	},
	
	onLoad(option) {
		this.goodsid = option.goodsid
		// this.getPageDetail()
	},
	methods: {
		goDetail() {
			uni.navigateTo({
				url: '/pages_Sxy/Sxy_queryCarDetail/Sxy_queryCarDetail?goodsid=' + this.goodsid
			})
		},
		getPageDetail() {
			var req = {
				"findid": this.goodsid,
				"CurrentPage": 1,
				"PageSize": 10,
				"Tid": Core.CurrentUser().uid
			}
			
			// Core.AjaxPost(Core.Bus.Myfindcardetail, req, (res) => {
			// 	this.pageData = res.data.Item
			// 	this.pageShow = true
			// })
		},
		//确认取消
		requerqx() {
			this.show = false;
			var parmeter = {
				findid: this.goodsid, //寻车id 
				Tid: Core.CurrentUser().uid, //当前登录用户的id
			};
			// Core.AjaxPost(Core.Bus.Busscancel, parmeter, (res) => {
			// 	uni.switchTab({
			// 		url: '/pages_Ydl/Y_FindmycarV2/Y_FindmycarV2'
			// 	})
			// })
		},
		dPhone(data) {
			Core.callPhone(data)
		},
		xiaoxi() {
			uni.showToast({
				title: '该功能还未开发',
				icon: 'none'
			})
		}
	}
}
